﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Security.Principal;

namespace IKEA.FileExchange.Security
{
    [Serializable]
    public class FileExchangeIdentity : IIdentity
    {
        private bool isAuthenticated;
        private string name;

        #region IIdentity Members

        public string AuthenticationType
        {
            get { return "Forms"; }
        }

        public bool IsAuthenticated
        {
            get { return isAuthenticated; }
        }

        public string Name
        {
            get { return name; }
        }

        #endregion

        public FileExchangeIdentity(string name, bool isAuthenticated)
        {
            this.name = name;
            this.isAuthenticated = isAuthenticated;
        }
    }
}
